import React, { Component } from 'react';
import {Link} from 'react-router-dom';
import { Card } from 'antd';
import './style.less';

class Error extends Component{
	constructor(props){
		super(props);
		this.state = {

		}
	}
	render() {
		return (
			<Card title="出错啦！">
				<div className="errContent">
					<p>找不到该路径</p>
					<Link to="/home">点我返回首页</Link>
				</div>
			</Card>
		);
	}
}

export default Error;